-
Notifications
You must be signed in to change notification settings - Fork 716
[nrf noup] samples: bluetooth: mesh: update stack sizes #3131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6657125 to
ccdca76
Compare
| CONFIG_MAIN_STACK_SIZE=4392 | ||
| CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4740 | ||
| CONFIG_BT_MESH_SETTINGS_WORKQ_STACK_SIZE=1664 | ||
| CONFIG_BT_MESH_ADV_STACK_SIZE=3960 | ||
| CONFIG_BT_RX_STACK_SIZE=3288 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| CONFIG_MAIN_STACK_SIZE=4392 | |
| CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4740 | |
| CONFIG_BT_MESH_SETTINGS_WORKQ_STACK_SIZE=1664 | |
| CONFIG_BT_MESH_ADV_STACK_SIZE=3960 | |
| CONFIG_BT_RX_STACK_SIZE=3288 | |
| CONFIG_MAIN_STACK_SIZE=4400 | |
| CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4800 | |
| CONFIG_BT_MESH_SETTINGS_WORKQ_STACK_SIZE=1700 | |
| CONFIG_BT_MESH_ADV_STACK_SIZE=4000 | |
| CONFIG_BT_RX_STACK_SIZE=3300 |
I just rounded it up to next hundred. If not, we will definitely get questions on how did we calculate exact number, as those numbers to veryy specific down to unit place.
Now, we can say, we experiemented, added some 10% (or something, I don't know how much margin did you add), and rounded it up to next hundred.
What do you think? Does anyone else has any other opinion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@omkar3141 Sorry, I forgot to mention - the values are set with 50% margin, based off the thread analysis. With a lot for testing it seems that such margin was needed due to spikes in usage during provisioning. Rounding up is fine with me.
Increased stack sizes for mesh provisoner sample. Values are based of thread analysis, plus added margin. Signed-off-by: Stine Åkredalen <[email protected]>
ccdca76 to
3594a32
Compare
Increased stack sizes for mesh provisoner sample. Values are based on thread analysis, plus added margin.